define(function(require){
    var $ = require('$');
    var Select = require("inno/select/1.0.0/select-debug");
    function resize(){
        var $navLeft = $('.nav-left');
		$navLeft.css('height',$(document).height());
    }
	
    new Select({
        trigger: '#year',
		width:'100px',
        model: [
            {value:'2016', text:'2016', selected: true},
            {value:'2015', text:'2015'},
            {value:'2017', text:'2017'}
        ]
    }).render();
    new Select({
        trigger: '#month',
		width:'100px',
        model: [
            {value:'1', text:'1月', selected: true},
            {value:'2', text:'2月'},
            {value:'3', text:'3月'}
        ]
    }).render();

    resize();
    $(document).resize(function(){
        resize();
    });

});